﻿
namespace Community.CsharpSqlite.WP.SqliteDataProvider.Base
{
    /// <summary>
    /// 
    /// </summary>
    public enum ConnectionState
    {
        /// <summary>
        /// The object is broken. This can occur only after the connection
        /// has been opened. A connection in this state may be closed and
        /// then reopened
        /// </summary>
        Broken,
        
        /// <summary>
        /// The object is closed
        /// </summary>
        Closed,

        /// <summary>
        /// The object is connecting
        /// </summary>
        Connecting,
        
        /// <summary>
        /// The object is executing a command
        /// </summary>
        Executing,
        
        /// <summary>
        /// Data is being retrieved
        /// </summary>
        Fetching,
        
        /// <summary>
        /// The object is open
        /// </summary>
        Open
    }
}
